﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Traceability.Infratruvture.Migrations
{
    public partial class initH : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "S_E_ImagerName",
                table: "Enterprises",
                newName: "S_ProductionNumber");

            migrationBuilder.RenameColumn(
                name: "C_ImageName",
                table: "Enterprises",
                newName: "S_Firm");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "S_ProductionNumber",
                table: "Enterprises",
                newName: "S_E_ImagerName");

            migrationBuilder.RenameColumn(
                name: "S_Firm",
                table: "Enterprises",
                newName: "C_ImageName");
        }
    }
}
